package com.icloud.system.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 添加后台账号操作日志入参
 */
@Data
@Accessors(chain = true)
public class SaveAdminOperationLogDto {
    @ApiModelProperty(value = "登录账号ID")
    private Long adminUserId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "ip地址")
    private String ip;

    @ApiModelProperty(value = "地区信息")
    private String address;

    @ApiModelProperty("浏览器请求信息")
    private String userAgent;

    @ApiModelProperty(value = "操作描述")
    private String desc;

    @ApiModelProperty(value = "请求方式")
    private String requestMethod;

    @ApiModelProperty("请求URI")
    private String requestUri;

    @ApiModelProperty(value = "请求路径")
    private String requestPath;

    @ApiModelProperty(value = "请求参数")
    private String requestParams;

    @ApiModelProperty("请求结果. SUCCESS,FAILED ")
    private String requestResult;

    @ApiModelProperty("失败原因")
    private String failedReason;

    @ApiModelProperty("备注")
    private String remark;
}
